package com.tjvib.bean;

public class OrderBean {

    // type = 0 是微信支付，1是支付宝支付
    private String title, id, time, money;
    private int type;
    private boolean pay;

    public OrderBean(String title, String id, String time, String money, boolean pay, int type) {
        this.title = title;
        this.id = id;
        this.time = time;
        this.money = money;
        this.pay = pay;
        this.type = type;
    }

    public int isType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMoney() {
        return money + " CNY";
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public boolean isPay() {
        return pay;
    }

    public void setPay(boolean pay) {
        this.pay = pay;
    }
}
